{include file="common/head"}
<head>
    <title>教练车类型</title>
    <style>
    </style>
</head>
<body >
<div class="container-fluid">
    <div class="row">
        <div class="col-2" style="text-align: left;line-height: 50px;font-size: 2rem;" >
            教练车类型
        </div>
        <div class="col-10">    
        </div>
    </div>    
    <table class="table table-sm table-hover table-striped">
        <thead>
            <th>序号</th>
            <th>分类名称</th>
            <th>名称2</th>
            <th>说明</th>
            <th>录入人</th>
            <th>录入时间</th>
            <th>是否启用</th>
            <th>
                <button type="button" class="btn btn-sm btn-primary">
                    <a href="/index.php/cat2/cat_add" alt="新增分类(New category)">
                        <span class="bi-plus-lg" style="color:#fff;"></span></a>
                </button>
            </th>
        </thead>
        <tbody>
            {foreach $data as $k=>$kv}
            <tr>
                <td>{$k}</td>
                <td>
                    {if $kv['deepth']==1}
                        <c style="margin-left:10px;"></c>|__
                    {elseif $kv['deepth']==2}
                        <c style="margin-left:20px;"></c>|__
                    {elseif $kv['deepth']==3}
                        <c style="margin-left:40px;"></c>|__
                    {/if}
                {$kv['name']}</td>
                <td>{$kv['name2']}</td>
                <td>{$kv['title']}</td>
                <td>{$kv['creater_name']}</td>
                <td>{$kv['create_time']}</td>
                {if $kv['status']==1}
                    <td>{$kv['status_name']}</td>
                {else if $kv['status']==2}    
                    <td style="text-decoration:line-through;color:red;">{$kv['status_name']}</td>
                {/if}
                <td>
                    <a href="/index.php/cat2/edit/id/{$kv['id']}">
                        <button type="button" class="btn btn-sm btn-info"><span class="bi-pencil" ></span></button>
                    </a>
                </td>
            </tr>
            {/foreach}

        </tbody>    
    </table>
</div>

</body>

<script type="text/javascript">
  

</script>


</body>
</html>
